package com.ipet.item.feign;

import com.ipet.ad.pojo.Ad;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(name = "ipet-gateway")
public interface AdFeignClient {
    @GetMapping("/api/ad/todayAd")
    List<Ad> findAds();
}
